<template>
	<view class="page">
		<view class="group_3">
			<!-- <view class="" style="margin: 20rpx 0 0 20rpx;">
				基本信息
			</view> -->
			<view class="d-flex flex-row justify-space-between">
				<text lines="1" class="text_8">选择机构 </text>
				<view class="item">
					<input type="text" placeholder="请选择机构 " disabled v-model="userInfo.occupation_relation"
						class="atinput" style="width: 400rpx;text-align: right;" @click="showoccupation = true" />
				</view>

			</view>
			<view class="d-flex flex-row justify-space-between">
				<text lines="1" class="text_8">选择课程</text>
				<view class="item">
					<input type="text" placeholder="请选择课程 " disabled v-model="userInfo.occupation_jineng"
						class="atinput" style="width: 400rpx;text-align: right;" @click="showjineng = true" />
				</view>
			</view>

			<view class="d-flex flex-row justify-space-between">
				<text lines="1" class="text_8">每天限用</text>
				<view class="item">
					<input type="number" placeholder=" 请输入每天限用" class="atinput" v-model="day_limit"
						style="width: 400rpx;text-align: right;" />
				</view>
			</view>

		</view>

		<view class="group_3">
			<view class="" style="margin: 20rpx 0 0 20rpx;">
				价格与库存设置
			</view>
			<text lines="1" class="text_8">周历限制</text>
			<view class="item">
				<view class=" week-list flex-wrap">
					<view class="week-item" :class="{'active': jiaoSelect.includes(item.id)}" v-for="item in weekList"
						:key="item.id" @click="handjiao(item)">
						{{ item.name }}
					</view>
				</view>
			</view>
		</view>
		<!-- 计次 -->
		<view class="group_3" v-if="userInfo.course_mode_type == 1">
			<view class="item sub-item" v-for="(item,index) in subTineList" :key="index">
				<view class="flex-space-between">
					<view class="item-title">课程名称</view>
					<view class="sub-value flex-align" style="border: #f3f3f3 1rpx solid;">
						<input type="text" v-model="item.course_item_name"
							style="padding-left: 10rpx;font-size: 24rpx;" />
					</view>

				</view>
				<view class="flex-space-between">
					<view class="item-title">课时数</view>
					<view class="sub-value flex-align" style="border: #f3f3f3 1rpx solid;">
						<input type="number" v-model="item.hour_num" style="padding-left: 10rpx;font-size: 24rpx;" />
					</view>
				</view>
				<view class="flex-space-between">
					<view class="item-title">套餐价(元)</view>
					<view class="sub-value flex-align" style="border: #f3f3f3 1rpx solid;">
						<input type="number" v-model="item.course_price"
							style="padding-left: 10rpx;font-size: 24rpx;" />
					</view>
				</view>
				<view class="flex-space-between">
					<view class="item-title">有效期(天)</view>
					<view class="sub-value flex-align" style="border: #f3f3f3 1rpx solid;">
						<input type="number" v-model="item.course_period"
							style="padding-left: 10rpx;font-size: 24rpx;" />
					</view>
				</view>
				<view class="flex-space-between">
					<view class="item-title">周期(次数)</view>
					<view class="sub-value flex-align" style="border: #f3f3f3 1rpx solid;">
						<input type="number" v-model="item.week_limit" style="padding-left: 10rpx;font-size: 24rpx;" />
					</view>
				</view>
				<view class="flex-space-between">
					<view class="item-title">月限(次数)</view>
					<view class="sub-value flex-align" style="border: #f3f3f3 1rpx solid;">
						<input type="number" v-model="item.month_limit" style="padding-left: 10rpx;font-size: 24rpx;" />
					</view>
				</view>
				<view class="flex-space-between">
					<view class="item-title">最多赠送(次数)</view>
					<view class="sub-value flex-align" style="border: #f3f3f3 1rpx solid;">
						<input type="number" v-model="item.course_extra_num"
							style="padding-left: 10rpx;font-size: 24rpx;" />
					</view>
				</view>

				<view class="flex-space-between"  v-if="status == 1">
					<view class="item-title"></view>
					<view class="close" @click="removeSubTime(index)"
						style="width: 67px;height: 26px;color: #ffffff;font-size: 12px;text-align: center;border-radius: 5px;line-height: 26px;background-color: #ff3426;margin-top: 20rpx;">
						删除
						<!-- <van-icon  name="cross" size="34rpx" color="rgb(153,153,153)" /> -->
					</view>
				</view>
			</view>

			<view class="add flex-center"  v-if="status == 1">
				<van-icon @click='addSubTime' name="add-o" size="56rpx" color="#6b65f7" />
			</view>
		</view>
		<!-- 计时 -->
		<view class="group_3" v-if="userInfo.course_mode_type == 2">
			<view class="item sub-item" v-for="(item,index) in subTineList2" :key="index">
				<view class="flex-space-between">
					<view class="item-title">课程名称</view>
					<view class="sub-value flex-align" style="border: #f3f3f3 1rpx solid;">
						<input type="text" v-model="item.course_item_name"
							style="padding-left: 10rpx;font-size: 24rpx;" />
					</view>

				</view>
				<view class="flex-space-between">
					<view class="item-title">有效期(天)</view>
					<view class="sub-value flex-align" style="border: #f3f3f3 1rpx solid;">
						<input type="number" v-model="item.course_period"
							style="padding-left: 10rpx;font-size: 24rpx;" />
					</view>
				</view>
				<view class="flex-space-between">
					<view class="item-title">套餐价(元)</view>
					<view class="sub-value flex-align" style="border: #f3f3f3 1rpx solid;">
						<input type="number" v-model="item.course_price"
							style="padding-left: 10rpx;font-size: 24rpx;" />
					</view>
				</view>
				<view class="flex-space-between">
					<view class="item-title">周限(次数)</view>
					<view class="sub-value flex-align" style="border: #f3f3f3 1rpx solid;">
						<input type="number" v-model="item.week_limit" style="padding-left: 10rpx;font-size: 24rpx;" />
					</view>
				</view>
				<view class="flex-space-between">
					<view class="item-title">月限(次数)</view>
					<view class="sub-value flex-align" style="border: #f3f3f3 1rpx solid;">
						<input type="number" v-model="item.month_limit" style="padding-left: 10rpx;font-size: 24rpx;" />
					</view>
				</view>
				<view class="flex-space-between">
					<view class="item-title">最多可用(次数)</view>
					<view class="sub-value flex-align" style="border: #f3f3f3 1rpx solid;">
						<input type="number" v-model="item.hour_num" style="padding-left: 10rpx;font-size: 24rpx;" />
					</view>
				</view>

				<view class="flex-space-between"  v-if="status == 1">
					<view class="item-title"></view>
					<view class="close" @click="removeSubTime2(index)"
						style="width: 67px;height: 26px;color: #ffffff;font-size: 12px;text-align: center;border-radius: 5px;line-height: 26px;background-color: #ff3426;margin-top: 20rpx;">
						删除
						<!-- <van-icon  name="cross" size="34rpx" color="rgb(153,153,153)" /> -->
					</view>
				</view>
			</view>

			<view class="" v-if="status == 1">
				<view class="add flex-center" >
					<van-icon @click='addSubTime2' name="add-o" size="56rpx" color="#6b65f7" />
				</view>
			</view>
		</view>

		<view class="group_3">
			<view class="" style="margin: 20rpx 0 0 20rpx;">
				课程详情
			</view>
			<text lines="1" class="text_8">课程说明</text>
			<view class="item">
				<u-textarea v-model="content" placeholder="请输入课程说明" maxlength='-1'></u-textarea>
			</view>
		</view>

		<view class="" style="width: 100%;height: 10vh;"></view>
		<view class="d-flex flex-row justify-space-between justify-center align-center"
			style="position: fixed;bottom: 0;height: 120rpx;background-color: #fff;width: 100%;padding: 0 8%;z-index: 99;">
			<view class=""
				style="width: 45%;height: 80rpx;background: #ffffff;color: #ec652b;font-size: 24rpx;text-align: center;border-radius: 35rpx;line-height: 80rpx;border:#ec652b 1rpx solid">
				取消
			</view>
			<view class="" @click="addculum"
				style="width: 45%;height: 80rpx;background: linear-gradient(0deg, rgba(214, 53, 53, 0.9), rgba(255, 64, 64, 0.93), rgba(250, 142, 142, 0.93));color: #ffffff;font-size: 24rpx;text-align: center;border-radius: 35rpx;line-height: 80rpx;">
				保存课包
			</view>
		</view>
		<u-picker :show="showoccupation" :columns="occupation_status" keyName="venue_name" @confirm="addoccupation"
			@cancel="showoccupation = false">
		</u-picker>

		<u-picker :show="showjineng" :columns="jineng_status" keyName="combined_name" @confirm="addjineng"
			@cancel="showjineng = false">
		</u-picker>
	</view>
</template>

<script>
	const train = require("@/api/train/index.js");
	import {
		formatDate
	} from "@/utils/util.js"
	export default {
		data() {
			return {
				fileList1: [],
				url_phone: '',
				fileList: [], //图片列表
				show: false,
				value1: Number(new Date()),
				showoccupation: false, //职业
				occupation_status: [], //职业
				occupation_list: [{
						id: 1,
						label: "游泳私教初级课程"
					},
					{
						id: 2,
						label: "篮球长训高级课程"
					},
				],
				showjineng: false, //技能等级
				jineng_status: [], //技能等级
				userInfo: {
					occupation_relation: '',
					occupation_relation_id: '',
					occupation_jineng: '',
					occupation_jineng_id: '',
					occupation_changguan: "",
					occupation_changguan_id: "",
					occupation_xcx: '',
					occupation_xcx_id: '',
					timescount: 1,
					datacount: 1,
					data_time: '',
					course_mode_type: ''

				},
				day_limit: 1,
				value: 0,
				datashow: false,
				mode: 'range',
				checkboxValue1: [],
				// 基本案列数据
				checkboxList1: [{
						name: '周一',
						id: 1,
						disabled: false
					},
					{
						name: '周二',
						id: 2,
						disabled: false
					},
					{
						name: '周三',
						id: 3,
						disabled: false
					},
					{
						name: '周四',
						id: 4,
						disabled: false
					},
					{
						name: '周五',
						id: 5,
						disabled: false
					},
					{
						name: '周六',
						id: 6,
						disabled: false
					},
					{
						name: '周日',
						id: 7,
						disabled: false
					}
				],
				weekSelect: [], //选中的
				formData: {
					className: '', //私教课程名称
					classItem: '', //课节,
					startDate: '', //预约日期开始
					endDate: '', //预约日期结束
				},
				dateState: 0, //0是选择开始日期，1是结束日期
				showDate: false, //年月日弹窗
				content: '',
				subTineList: [ //预约时间段
					{
						course_item_name: '',
						hour_num: '',
						course_price: '',
						course_period: '',
						week_limit: '7',
						month_limit: '31',
						course_extra_num: '',
					}
				],
				subTineList2: [ //预约时间段
					{
						course_item_name: '',
						course_period: '',
						course_price: '',
						week_limit: '7',
						month_limit: '31',
						hour_num: '',
					}
				],
				venue_id: '',
				weekList1: [],
				jineng_list: [],
				weekList: [{
						id: "1",
						name: "周一"
					},
					{
						id: "2",
						name: "周二"
					},
					{
						id: "3",
						name: "周三"
					},
					{
						id: "4",
						name: "周四"
					},
					{
						id: "5",
						name: "周五"
					},
					{
						id: "6",
						name: "周六"
					},
					{
						id: "7",
						name: "周日"
					},
				],
				jiaoSelect: ["1", "2", "3", "4", "5", "6", "7"], //选中的
				selectlist: {},
				item_id:'',
				status:''
			}
		},
		onLoad(options) {
			console.log(options, 'options')
			this.venue_id = options.venue_id
			this.status = options.status
			if (options.status == 2) {
				const selectionArrs = JSON.parse(decodeURIComponent(options.selectionArr))
				console.log(selectionArrs,'selectionArrs')
				this.selectlist = selectionArrs
				this.userInfo.occupation_jineng_id = this.selectlist.course_id 
				const combinedName =
					`${this.selectlist.course_name}【${this.selectlist.course_mode_type_name}】(${this.selectlist.name})`;
				
				console.log(combinedName,'combinedName')
				this.userInfo.occupation_jineng = combinedName
				this.userInfo.occupation_relation = this.selectlist.area_name 
				this.userInfo.occupation_relation_id = this.selectlist.area_id 
				this.jiaoSelect = this.selectlist.adapt_week
				this.content = this.selectlist.content
				this.userInfo.course_mode_type = this.selectlist.course_mode_type
				if(this.selectlist.course_mode_type == 2){
					this.subTineList2 = [this.selectlist.course_items]
				} else if(this.selectlist.course_mode_type == 1){
					this.subTineList = [this.selectlist.course_items]
				}
				this.day_limit = this.selectlist.day_limit
				this.item_id = this.selectlist.item_id
			}
			this.cls_options()
			this.traincourses()
		},
		methods: {
			async addculum() {
				if(this.userInfo.course_mode_type == 2){
					var diaTableData = this.subTineList2
				} else if(this.userInfo.course_mode_type == 1){
					var diaTableData = this.subTineList
				}
				var venueid = Number(this.venue_id)
				let params = {
					adapt_week:this.jiaoSelect,
					content:this.content,
					course_id:this.userInfo.occupation_jineng_id,
					course_mode_type:this.userInfo.course_mode_type,
					course_packages:JSON.stringify(diaTableData),
					day_limit:this.day_limit,
					venue_id:[venueid,this.userInfo.occupation_relation_id],
					item_id:this.item_id
				};
				console.log(params,'params')
				let res = await train.package_save(params);
				if (res.code == 1) {
					uni.navigateBack({
						delta: 1
					})
				}
			},
			handjiao(item) {
				let data = item.id;
				// 使用indexOf检查是否已选中，避免重复或遗漏
				const index = this.jiaoSelect.indexOf(data);
				if (index > -1) {
					// 如果已选中，则移除
					this.jiaoSelect.splice(index, 1);
				} else {
					// 如果未选中，则添加
					this.jiaoSelect.push(data);
				}
			},
			async  cls_options() {
				let params = {
					venue_id: this.venue_id,
				};
				let res = await train.cls_options(params);
				if (res.code == 1) {
					this.occupation_list = res.data.areaList
					this.occupation_status.push(
						this.occupation_list
					)
				}
			},
			async traincourses() {
				let params = {
					pageSize: 10000
				};
				let res = await train.traincourses(params);
				if (res.code == 1) {
					// this.jineng_list = res.data.list.data
					const originalData = res.data.list.data;

					// 处理数据：添加拼接字段 combined_name
					const processedData = originalData.map(item => {
						// 拼接逻辑：course_name + 【course_mode_type_name】 + (name)
						const combinedName =
							`${item.course_name}【${item.course_mode_type_name}】(${item.name})`;

						// 返回新对象（保留原数据并添加新字段）
						return {
							...item,
							combined_name: combinedName // 字段名可自定义，如 course_full_name
						};
					});

					// 赋值给 jineng_list（包含新字段）
					this.jineng_list = processedData;
					this.jineng_status.push(
						this.jineng_list
					)
				}
			},
			//新增
			addSubTime2() {
				this.subTineList2.push({
					course_item_name: '',
					course_period: '',
					course_price: '',
					week_limit: '7',
					month_limit: '31',
					hour_num: '',
				})
			},
			//删除
			removeSubTime2(indexs) {
				this.subTineList2 = this.subTineList2.filter((item, index) => {
					return index !== indexs
				})
			},
			//新增
			addSubTime() {
				this.subTineList.push({
					course_item_name: '',
					hour_num: '',
					course_price: '',
					course_period: '',
					week_limit: '7',
					month_limit: '31',
					course_extra_num: '',
				})
				console.log(this.subTineList,'this.subTineList')
			},
			//删除
			removeSubTime(indexs) {
				this.subTineList = this.subTineList.filter((item, index) => {
					return index !== indexs
				})
			},

			checkboxChange(n) {},

			baocun() {
				// uni.navigateTo({
				// 	url: '../../page_admin/coach-side/class-home/class-sub/class-add'
				// })
			},
			valChange(e) {},
			shuju() {


			},
			addjineng(e) {
				this.userInfo.occupation_jineng = e.value[0].combined_name
				this.userInfo.occupation_jineng_id = e.value[0].id
				this.userInfo.course_mode_type = e.value[0].course_mode_type
				this.showjineng = false
			},
			// 职业
			addoccupation(e) {
				this.userInfo.occupation_relation = e.value[0].venue_name
				this.userInfo.occupation_relation_id = e.value[0].id
				this.showoccupation = false
			},

			timeChange(n) {
				this.userInfo.timescount = n
			},
			dataChange(n) {
				this.userInfo.datacount = n
			},
		}
	}
</script>

<style lang="scss" scoped>
	.page {
		width: 100%;
		// height: 100vh;
		background-color: #EDF5F5;
		position: relative;

		.group_3 {
			background-color: rgba(255, 255, 255, 1.000000);
			width: 710rpx;
			height: 100%;
			display: flex;
			flex-direction: column;
			margin: 20rpx 0 0 20rpx;
			border-radius: 20rpx;

			.week-list {
				display: grid;
				grid-template-columns: repeat(5, 1fr);
				grid-gap: 20rpx;
				position: relative;

				.week-item {
					padding: 15rpx 0;
					background-color: rgb(243, 243, 243);
					border-radius: 5rpx;
					text-align: center;
					color: rgb(51, 51, 51);
					font-size: 24rpx;
					font-weight: 500;
					border: solid 2rpx transparent;
					box-sizing: border-box;
				}

				.active {
					color: rgba(255, 98, 0, 1);
					background-color: rgba(255, 65, 5, 0.1);
					// border: solid 2rpx rgb(99, 93, 247);
					position: relative;

					// &:before {
					// 	display: block;
					// 	content: '';
					// 	position: absolute;
					// 	width: 27rpx;
					// 	height: 28rpx;
					// 	right: -2rpx;
					// 	bottom: -2rpx;
					// 	background-image: url("https://jiangsudiantuo2022.oss-cn-hangzhou.aliyuncs.com/img/46b1cc85fcb0fd76095daf823b7d2bb4a3235519.png");
					// 	background-repeat: no-repeat;
					// 	background-size: 100%;
					// }
				}

				.active1 {
					color: rgba(255, 98, 0, 1);
					background-color: rgba(255, 65, 5, 0.1);
					// border: solid 2rpx rgb(99, 93, 247);
					position: relative;
				}

				.active2 {
					color: rgba(255, 98, 0, 1);
					background-color: rgba(255, 65, 5, 0.1);
					// border: solid 2rpx rgb(99, 93, 247);
					position: relative;
				}

				.check {
					color: rgb(51, 51, 51);
					font-size: 24rpx;
					position: absolute;
					bottom: 10rpx;
					right: 0;
				}
			}

			.sub-item {
				.item-title {
					width: 45%;
				}

				.bottom {
					position: relative;

					.close {
						position: absolute;
						right: 0;
					}

					.sub-value {
						width: 45%;
						color: rgb(51, 51, 51);
						font-size: 28rpx;
						font-weight: 500;

						.hr {
							margin: 0 16rpx;
						}

						input {
							width: 80rpx;
							padding-right: 20rpx;
						}
					}
				}
			}

			.item {
				// padding: 29rpx 30rpx 30rpx;
				padding: 25rpx 30rpx 20rpx 30rpx;

				.atinput {
					// border: #EBECEE 1rpx solid;
					font-size: 24rpx;
					height: 60rpx;
					width: 600rpx;
					padding-left: 20rpx;
				}

				.item-title {
					color: rgb(153, 153, 153);
					font-size: 28rpx;
					font-weight: 500;
					margin-bottom: 20rpx;
				}

				.value {
					color: rgb(51, 51, 51);
					font-size: 28rpx;
					font-weight: 500;
				}

				.time-cell {
					color: rgb(51, 51, 51);
					font-size: 28rpx;
					font-weight: 500;
					justify-content: flex-start;

					.time {
						width: 49%;

						&:last-of-type {
							margin-left: 20rpx;
						}
					}
				}

				.week-list {
					display: grid;
					grid-template-columns: repeat(5, 1fr);
					grid-gap: 20rpx;
					position: relative;

					.week-item {
						padding: 15rpx 0;
						background-color: rgb(243, 243, 243);
						border-radius: 5rpx;
						text-align: center;
						color: rgb(51, 51, 51);
						font-size: 24rpx;
						font-weight: 500;
						border: solid 2rpx transparent;
						box-sizing: border-box;
					}

					.active {
						color: rgba(255, 98, 0, 1);
						background-color: rgba(255, 65, 5, 0.1);
						// border: solid 2rpx rgb(99, 93, 247);
						position: relative;

						// &:before {
						// 	display: block;
						// 	content: '';
						// 	position: absolute;
						// 	width: 27rpx;
						// 	height: 28rpx;
						// 	right: -2rpx;
						// 	bottom: -2rpx;
						// 	background-image: url("https://jiangsudiantuo2022.oss-cn-hangzhou.aliyuncs.com/img/46b1cc85fcb0fd76095daf823b7d2bb4a3235519.png");
						// 	background-repeat: no-repeat;
						// 	background-size: 100%;
						// }
					}

					.active1 {
						color: rgba(255, 98, 0, 1);
						background-color: rgba(255, 65, 5, 0.1);
						// border: solid 2rpx rgb(99, 93, 247);
						position: relative;
					}

					.active2 {
						color: rgba(255, 98, 0, 1);
						background-color: rgba(255, 65, 5, 0.1);
						// border: solid 2rpx rgb(99, 93, 247);
						position: relative;
					}

					.check {
						color: rgb(51, 51, 51);
						font-size: 24rpx;
						position: absolute;
						bottom: 10rpx;
						right: 0;
					}
				}
			}
		}

		.text_2 {
			width: 93rpx;
			height: 23rpx;
			overflow-wrap: break-word;
			color: rgba(136, 136, 136, 1);
			font-size: 24rpx;
			font-family: PingFang-SC-Medium;
			font-weight: 500;
			text-align: left;
			white-space: nowrap;
			line-height: 34rpx;
			margin: 15rpx 0 0 21rpx;
		}

		.section_2 {
			background-color: rgba(229, 229, 229, 1.000000);
			width: 672rpx;
			height: 1rpx;
			display: flex;
			flex-direction: column;
			margin: 40rpx 0 0 18rpx;
		}

		.text_3 {
			width: 47rpx;
			height: 23rpx;
			overflow-wrap: break-word;
			color: rgba(136, 136, 136, 1);
			font-size: 24rpx;
			font-family: PingFang-SC-Medium;
			font-weight: 500;
			text-align: left;
			white-space: nowrap;
			line-height: 34rpx;
			margin: 42rpx 0 0 19rpx;
		}

		.text_4 {
			width: 82rpx;
			height: 26rpx;
			overflow-wrap: break-word;
			color: rgba(51, 51, 51, 1);
			font-size: 28rpx;
			font-family: PingFang-SC-Medium;
			font-weight: 500;
			text-align: left;
			white-space: nowrap;
			line-height: 34rpx;
			margin: 24rpx 0 0 20rpx;
		}

		.section_3 {
			background-color: rgba(229, 229, 229, 1.000000);
			width: 672rpx;
			height: 1rpx;
			display: flex;
			flex-direction: column;
			margin: 40rpx 0 0 18rpx;
		}

		.text_5 {
			width: 47rpx;
			height: 23rpx;
			overflow-wrap: break-word;
			color: rgba(136, 136, 136, 1);
			font-size: 24rpx;
			font-family: PingFang-SC-Medium;
			font-weight: 500;
			text-align: left;
			white-space: nowrap;
			line-height: 34rpx;
			margin: 39rpx 0 0 19rpx;
		}

		.text_6 {
			width: 82rpx;
			height: 26rpx;
			overflow-wrap: break-word;
			color: rgba(51, 51, 51, 1);
			font-size: 28rpx;
			font-family: PingFang-SC-Medium;
			font-weight: 500;
			text-align: left;
			white-space: nowrap;
			line-height: 34rpx;
			margin: 24rpx 0 0 20rpx;
		}

		.section_4 {
			background-color: rgba(229, 229, 229, 1.000000);
			width: 672rpx;
			height: 1rpx;
			display: flex;
			flex-direction: column;
			margin: 40rpx 0 0 18rpx;
		}

		.text_7 {
			width: 95rpx;
			height: 23rpx;
			overflow-wrap: break-word;
			color: rgba(136, 136, 136, 1);
			font-size: 24rpx;
			font-family: PingFang-SC-Medium;
			font-weight: 500;
			text-align: left;
			white-space: nowrap;
			line-height: 34rpx;
			margin: 39rpx 0 0 19rpx;
		}

		.image_2 {
			width: 151rpx;
			height: 151rpx;
			margin: 25rpx 0 0 18rpx;
		}


		.text_8 {
			width: 95rpx;
			height: 23rpx;
			overflow-wrap: break-word;
			color: rgba(136, 136, 136, 1);
			font-size: 24rpx;
			font-family: PingFang-SC-Medium;
			font-weight: 500;
			text-align: left;
			white-space: nowrap;
			line-height: 34rpx;
			margin: 20rpx 0 0 19rpx;
		}

		.text_18 {
			width: 95rpx;
			height: 45rpx;
			overflow-wrap: break-word;
			color: rgba(136, 136, 136, 1);
			font-size: 24rpx;
			font-family: PingFang-SC-Medium;
			font-weight: 500;
			text-align: left;
			white-space: nowrap;
			line-height: 34rpx;
			margin: 5rpx 0 0 19rpx;
		}

		.section_6 {
			width: 378rpx;
			height: 62rpx;
			flex-direction: row;
			display: flex;
			justify-content: space-between;
			margin: 26rpx 0 27rpx 21rpx;
		}

		.button_1 {
			background-color: rgba(243, 243, 243, 1.000000);
			height: 62rpx;
			display: flex;
			flex-direction: column;
			width: 174rpx;
		}

		.text_9 {
			width: 48rpx;
			height: 24rpx;
			overflow-wrap: break-word;
			color: rgba(51, 51, 51, 1);
			font-size: 24rpx;
			font-family: PingFang-SC-Medium;
			font-weight: 500;
			text-align: left;
			white-space: nowrap;
			line-height: 34rpx;
			margin: 19rpx 0 0 63rpx;
		}

		.button_2 {
			background-color: rgba(255, 65, 5, 0.100000);
			height: 62rpx;
			display: flex;
			flex-direction: column;
			width: 174rpx;
		}

		.text_10 {
			width: 73rpx;
			height: 24rpx;
			overflow-wrap: break-word;
			color: rgba(255, 98, 0, 1);
			font-size: 24rpx;
			font-family: PingFang-SC-Medium;
			font-weight: 500;
			text-align: left;
			white-space: nowrap;
			line-height: 34rpx;
			margin: 19rpx 0 0 51rpx;
		}

		.button_3 {
			width: 90%;
			height: 80rpx;
			position: fixed;
			bottom: 20rpx;
			background: linear-gradient(0deg, rgba(214, 53, 53, 0.9), rgba(255, 64, 64, 0.93), rgba(250, 142, 142, 0.93));
			border-radius: 80rpx 80rpx;
			margin-left: 5%;
			color: #fff;
			font-size: 28rpx;
			z-index: 999;
		}
	}
</style>